package com.poi.exp.domain;

import java.util.List;

import com.poi.util.JackJsonUtil;

/**
 * 行数据vo
 * 
 * @author tarena
 *
 */
public class RowModelVO extends BaseModel {
	/**
	 * 上数据定义vo
	 */
	private static final long serialVersionUID = 4015924243140615711L;

	private List<BaseModel> cellList;

	/// 列行数, 至少1行
	protected Integer lineNum = 1;

	public RowModelVO() {
		super();
	}

	public RowModelVO(List<BaseModel> cellList) {
		super();
		this.cellList = cellList;
	}

	public RowModelVO(ModelType type) {
		super(type);
	}

	public List<BaseModel> getCellList() {
		return cellList;
	}

	public void setCellList(List<BaseModel> cellList) {
		this.cellList = cellList;
	}

	public Integer getLineNum() {
		return lineNum;
	}

	public void setLineNum(Integer lineNum) {
		this.lineNum = lineNum;
	}

	@Override
	public String toString() {
		return JackJsonUtil.objToJson(this);
	}
}
